package com.gw.smscheck.service.business.comefrom;

import com.github.pagehelper.PageInfo;
import com.gw.smscheck.entity.business.comefrom.JzfdVisitorTopFrom;

import java.sql.Time;
import java.util.List;

public interface JzfdVisitorTopFromService {

    /**
     * 查询所有
     *
     * @return
     */
    public List<JzfdVisitorTopFrom> findAll();

    /**
     * 分页查询
     * @return
     */
    public PageInfo<JzfdVisitorTopFrom> pageSelect(JzfdVisitorTopFrom dto);

    /**
     * 查询当前的最大end_time
     */
    public Time findEndTime(JzfdVisitorTopFrom dto);

    /**
     * 获取当前的数据
     * @return
     */
    public List<JzfdVisitorTopFrom> findCurrent(JzfdVisitorTopFrom dto);

    /**
     * 获取某天的最新的数据
     * @param dto
     * @return
     */
    public List<JzfdVisitorTopFrom> findByModal(JzfdVisitorTopFrom dto);
}
